﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using GMS.Models.Entity;
using GMS.Models.SearchDto;

namespace GMS.IServices
{
    public interface IRoleInfoService
    {
        Task<RoleInfo> GetSingleAsync(Guid id);
        Task<IEnumerable<RoleInfo>> GetMultipleAsync(RoleInfoSearchDto dto);
        Task<int> AddedAsync(RoleInfo role);
        Task<int> DeletedAsync(Guid id);
        Task<int> UpdatedAsync(RoleInfo role);
    }
}